<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>办件查询结果 </title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
	</script>
</head>
<body>
	<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
	<h3 align="center">办理查询结果</h3>
	<div align="center">
		<form:form id="searchForm" modelAttribute="liucheng" action="${ctx}/ta/liucheng/" method="post" class="breadcrumb form-search">
			<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
			<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
			<table class="table table-striped table-bordered table-condensed">
				<tr>
					<th>序号</th>
					<th>编号</th>
					<th>案件类型</th>
					<th>申请人</th>
					<th>接件时间</th>
					<th>优先级</th>
					<th>详细</th>
					<th>办理状态</th>
				</tr>
				<c:forEach varStatus="i" items="${ls}" var="ls">
					<tr>
						<td>${i.count}</td>
						<td>${ls.iid}</td>
						<td>${ls.wname}</td>
						<td>${ls.name}</td>
						<td>
							<fmt:formatDate value="${ls.shouDate}" pattern="yyyy-MM-dd"/>
						</td>
						<td>		
							<c:if test="${ls.priority == 0}"><span style="color: blue">普通件</span></c:if>
							<c:if test="${ls.priority == 1}"><span style="color: yellow">加急件</span></c:if>
							<c:if test="${ls.priority == 2}"><span style="color: red">特急件</span></c:if>
						</td>
						<td><a href="${ctx}/ta/xiangQing/list?iid=${ls.iid}">详细</a></td>
						<td>
							<c:if test="${ls.status != 2}">正在办理</c:if>
							<c:if test="${ls.status == 2}"><a href="${ctx}/ta/BResult/ins?iid=${ls.iid}">回退</a></c:if>
						</td>
					</tr>
				</c:forEach>
			</table>
		</form:form>
	</div>
	<div class="pagination">${page}</div>
</body>
</html>